<!doctype html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<form id="form1" name="form1" method="post" action="http://www.mysite.cn/" onsubmit="if(this.elements[0].value.length==0) return false;">
	姓名：<input id="user" name="user" type="text" />
    <input type="submit" name="btn" id="btn" value="提交" />
</form>
</body> 
</html>
